package cn.sofwin.day0118.person;


/**
 * 人
 */
public class Person {
    //属性
    String name;
    int age;
    String gender;


    //方法
    public void eat(){
        System.out.println("吃" );
    }

    public void sleep(){
        System.out.println("睡觉");
    }

    public double work(){
        System.out.println("敲代码");
        return 10000;
    }
}
